[Agent Builder] Attachment inline rendering and UI actions#253329
[Agent Builder] Attachment inline rendering and UI actions#253329chrisbmar wants to merge 11 commits intoelastic:mainfrom
Conversation
|
/ci |
|
|
||
| import { renderAttachmentElement } from '@kbn/agent-builder-common/tools/custom_rendering'; | ||
|
|
||
| export const renderAttachmentPrompt = () => { |
There was a problem hiding this comment.
@ppisljar lets discuss tomorrow how best to implement this attachment rendering prompt for now. I also think we have a bug with the attachment_add tool always thinking that built in attachments are read-only, it throws an error.
| const isExperimentalFeaturesEnabled = settings?.client.get<boolean>( | ||
| AGENT_BUILDER_EXPERIMENTAL_FEATURES_SETTING_ID, | ||
| false | ||
| ); | ||
|
|
||
| if (isExperimentalFeaturesEnabled === false) { | ||
| return null; | ||
| } |
There was a problem hiding this comment.
cc. @joemcelroy whilst I've yet to implement the actual UI (future PR), I'd like to keep this behind the experimental feature flag just to ensure if the agent does include an <attachment_renderer /> XML tag that it doesn't show anything in the UI as we iteratively work towards including the final design - thoughts?
|
/ci |
|
/ci |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Public APIs missing exports
Page load bundle
History
cc @chrisbmar |
|
Pinging @elastic/obs-presentation-team (Team:obs-presentation) |
c1f3975 to
6689c69
Compare
|
silly rebase, closing and opening a new PR. #253913 |
closes https://github.com/elastic/search-team/issues/12939
This PR implements the plumbing for the acceptance criteria below, it does not include any UI.
You can see in the following video that the attachment and UI definition is reaching the chat response:
Screen.Recording.2026-02-16.at.17.46.33.mov
Implement: